<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
        <title>Sponsor Children: <%=controller.action_name %></title>
        <%=stylesheet_link_tag 'children' %>
    </head>
    <body class="main">
        <div class="buffer_header">
            <div class="left_panel_header">
                <img src="/images/nepal_mountains3.jpg"/>
            </div>
            <div class="right_panel_header">
                <div class="header_text">
                    <h1>Support The Children of Nepal</h1>
                </div>
            </div>
        </div>
        <div id="sub_header">
            <div class="left_panel">
				<%= link_to "Home", :action => "index" %> | <%= link_to "About Us", :action => "about" %> | <%= link_to "Sponsor a Child", :action => "list" %> 
            </div>
            <div class="right_panel">
                <%form_tag :controller => "account", :action => 'decide_to_login_or_logout' do %><input type="submit" value="<%=session['login_out']%>"><%end %>
            </div>
        </div>
        <div class="main_text_area">
            <div id="welcome">
                <% if session['user'] %>
                Welcome <%= session['user'].login %>!<%end %>
            </div>
            <%=yield %>
            <p style="color: green">
                <%=flash[:notice] %>
            </p>
        </div>
    </body>
</html>
